package com.coderman;

import com.alibaba.fastjson.JSON;

import java.util.ArrayList;
import java.util.List;

/**
 * description: Main <br>
 * date: 2020/9/14 23:31 <br>
 * author: coderman <br>
 * version: 1.0 <br>
 */
public class Main {
    public static void main(String[] args) {
        String str = "https://hf.loupan.com/community/xinzhanqu/p44/";
        str = str.substring(0,str.length() - 1);
        str = str.substring(0,str.lastIndexOf("/"));
        System.out.println(str+"/");
    }
}
